package com.dantefung.web;

import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Dante Fung
 * @create 2018-05-31 下午4:00
 * @desc Hello world!
 **/
@RestController
@EnableWebSecurity
public class HelloController {

    @RequestMapping("/hello")
    public String hello() {
        return "hello!";
    }
}
